1. /* sdmismlt.cpp by K.Tsuru */
  2. // function ID = 310 DRADIX, BRADIX
  3. /******************************************************************
  4. SDouble and SDecimal classes
  5. It examines that "*this" is much less than "a" or not.
  6. When you use as "b.IsMLT(a)" you can read "b is much less than a?".
  7. It returns b << a ? 1 : 0;
  8. ******************************************************************/
  9. #ifndef SN_H
  10. #include "sn.h"
  11. #endif
  12. bool SDouble::IsMLT(const SDouble& a) const {
  13. if(!Sign(310)) return true; // b = 0 && a != 0
  14. if(IsPointFixed() && IsHidden()) return true; // for any value of a
  15. int de = a.NetRdxExp() - NetRdxExp();
  16. return ( de > 0 ) && ( (uint)de >= EffFig() );
  17. }

sdmismlt.cpp : last modifiled at 2016/03/09 13:58:59(694 bytes)
created at 2017/10/07 10:21:15
The creation time of this html file is 2017/10/07 10:30:03 (Sat Oct 07 10:30:03 2017).